<template>

		<view class="shouye">
			<image :src="shouyeinfo.imgurl" mode=""></image>
			<view class="title">
				{{shouyeinfo.title}}
			</view>
			<view class="price">
				¥{{shouyeinfo.price}}
			</view>
		</view>

</template>

<script>
	export default {
		props: ['shouyeinfo'],
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.shouye{
	/* 行内标签以及行内块级标签水平居中 */
	text-align: center;
	width: 240rpx;
	font-size:14rpx;
}
.title{
	width: 230rpx;
	position: relative;
	line-height: 25rpx;
	max-height: 50rpx;
	overflow: hidden;
}


.shouye image{
	width: 240rpx;
	height: 240rpx;
	padding: 5rpx;
}
</style>
